dvs_files = ['deviser.c', 'eval.c', 'read.c', 'gc.c']
dvs_libs = []

env = Environment(CCFLAGS="-Wall -g -DDEBUG")

if ARGUMENTS.get('prof', 0):
	env.Append(CCFLAGS = ' -pg', LINKFLAGS=' -pg -a')

env.Program('lisp', dvs_files + ['repl.c'], LIBS=dvs_libs)
env.Program('gc_test', dvs_files + ['gc_test.c'], LIBS=dvs_libs)

